class CreateNhatKies < ActiveRecord::Migration
  def up
    create_table :nhat_kies do |t|
      t.references :TaiSan
      t.references :PhongDi
      t.references :PhongDen
      t.date       :NgayDen
      t.date       :NgayDi
      t.integer    :SoLuong

      t.timestamps
    end
  end

  def down
    drop_table :nhat_kies
  end
end
